<template>
<div>
    <div>
        <button @click="cheshi">测试数据库接口1</button>
        <button @click="cheshi2">测试数据库接口2</button>
        <button @click="btn1">腾讯json数据获取测试</button>
        <button @click="btn2">腾讯json数据获取测试2</button>
    </div>
</div>
    
</template>
<script>
export default {
    methods: {
        cheshi() {
            this.axios.get('/u/us').then(res=>{
                console.log(res);
            })
        },
        cheshi2() {
            this.axios.get('/a/search').then(res=>{
                console.log(res);
            })
        },
        btn1(){
            this.axios.get('/getBD.json').then(res=>{
                console.log(res);
            })
        },
        btn2(){
            this.axios.get('/getND.json').then(res=>{
                console.log(res);
            })
        }
    },
}
</script>
<style>
</style>